flag.FlagSet.failf (method)
7 uses
flag (current package)
flag.go#L1058: func (f *FlagSet) failf(format string, a ...any) error {
flag.go#L1093: return false, f.failf("bad flag syntax: %s", s)
flag.go#L1115: return false, f.failf("flag provided but not defined: -%s", name)
flag.go#L1121: return false, f.failf("invalid boolean value %q for -%s: %v", value, name, err)
flag.go#L1125: return false, f.failf("invalid boolean flag %s: %v", name, err)
flag.go#L1136: return false, f.failf("flag needs an argument: -%s", name)
flag.go#L1139: return false, f.failf("invalid value %q for flag -%s: %v", value, name, err)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |